package com.tongtong.stsuserapi.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tongtong.stsuserapi.pojo.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderDao extends BaseMapper<Order> {

	/** 订单所包含商品名的模糊查询 */
	List<Order> searchOrderByKeyword(@Param("userid") Long userid, @Param("keyword") String keyword, @Param("orderState") Integer orderState,
									 @Param("page") Integer page, @Param("pageSize") Integer pageSize);

	/** 获取订单卖家信息 */
}
